package com.chengyu.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class InnerMarketDomain {
    //大盘编码
    private String code;
    //大盘名称
    private String name;
    //开盘点
    private BigDecimal openPoint;
    //当前点
    private BigDecimal curPoint;
    //前收盘点
    private BigDecimal preClosePoint;
    //交易量
    private Long tradeAmt;
    //交易金额
    private Long tradeVol;
    //涨跌值
    private BigDecimal upDown;
    //涨幅
    private BigDecimal rose;
    //当前时间
    private BigDecimal amplitude;
    //当前时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "Asia/Shanghai")
    private Date curTime;
}
